package zhh;

import java.util.Random;

/**
 * @author 粥灰灰
 * 2025/1/24 23:20
 * 车辆
 */
public class RoadCar {

    /**
     * 车牌号
     */
    private final int carSign;

    public RoadCar() {
        carSign = Math.abs(new Random().nextInt());
    }

    public int getCarSign() {
        return carSign;
    }

    @Override
    public String toString() {
        return "{" +
                carSign +
                '}';
    }
}
